﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Yes.Application.Article.Dto;
using Yes.Core.Pager;
using Yes.Domain.Entity;
using Yes.Domain.Enum;

namespace Yes.Web.Blog.Models
{
    public class IndexView: BasePageView
    {
        public PageInfo<ArticleDto> PageInfo { get; set; }

        public IEnumerable<CategoryEntity> CategoryList { get; set; }

        public string UserAgent { get; set; }
        public int Year { get; set; }

        public int Month { get; set; }
        public string Keyword { get; set; }

        public int CategoryId { get; set; }

        public int TagId { get; set; }

        public int UserId { get; set; }


        public PageTypeEnum PageType { get; set; }

        public List<ArchiveDto> ArchiveList { get; set; }

        public List<TagDto> TagList { get; set; }
    }
}